package com.zhgxi.security.entity;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.Proxy;

import com.zhgxi.core.orm.hibernate.BaseEntity;

@Entity
@Table(name = "resources")
@Proxy(lazy = false)  
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Resources extends BaseEntity {

	private Integer priority;
	private String url;
	private Integer type;
	private String memo;
	private String name;

	public Integer getPriority() {
		return priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
